css selector match class

31

div[class^="something"] { }
<div class="show-grid">
    <strong class="span6">Blah blah</strong>
</div>
/*end with*/
div[class$="something"] { }
.show-grid [class*="span"] {
    background-color: #eee;
    text-align: center;
    border-radius: 3px;
    min-height: 30px;
    line-height: 30px;
}
/*end with*/
div[class$="something"] { }

Comments

Submit
0 Comments